#include "pch.h"
#include "SceneControl.h"
#include "Engine.h"
#include "Camera.h"
namespace mini
{

	void CSceneControl::buildMouseEvent()
	{

	}

	void CSceneControl::buildKeyboardEvent()
	{

	}

	void CSceneControl::onMouseEvent(event& e)
	{
		CCamera* pCamera = dynamic_cast<CCamera*>(GEngine->getActiveCamera());
		pCamera->processMove(e);
	}


	void CSceneControl::onKeyboardEvent(event& e)
	{

	}

}